//
//  Api2ASIHttp.h
//  near4u
//
//  Created by apple on 12-5-13.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ASIFormDataRequest.h"

@interface Api2ASIHttp : NSObject {
    SEL doneSelector;
	NSString *mIndex;
    id  mdelegate;
}

@property(nonatomic,retain)NSString *mIndex;

-(id)  initWithUrl:(NSString*) urlPath 
		  postData:(NSDictionary*)  data
		  delegate:(id)  aDeletgate
		 withIndex:(NSString *) theIndex
onCompletedCallback:(SEL) complectedCallback;

- (void)requestFormFinished:(ASIFormDataRequest *)request;

- (void)requestFormFailed:(ASIFormDataRequest *)request;

@end
